import _00SetFunction as sf

#验证性质
Xm,Ym,Zm,Wm=10,8,15,6
X,Y,Z,W=range(Xm),range(Ym),range(Zm),range(Wm)
f=sf.createfunction(X,Y)
g=sf.createfunction(Y,Z)
h=sf.createfunction(Z,W)
E1=sf.compositefunc( sf.compositefunc(f,g),h)
E2=sf.compositefunc(f,sf.compositefunc(g,h))
tv=E1==E2
print("f",f)
print("g",g)
print("h",h)
print(tv)